/* 全局样式 - 马里奥像素风 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Courier New', 'Monaco', 'Menlo', monospace;
  background: linear-gradient(135deg, #87CEEB 0%, #98FB98 50%, #FFE4B5 100%);
  color: #333;
  overflow-x: hidden;
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
}

#root {
  min-height: 100vh;
  position: relative;
}

/* 游戏化UI组件 - 马里奥像素风 */
.game-card {
  background: #FFD700;
  border: 4px solid #FF6B35;
  border-radius: 8px;
  padding: 20px;
  margin: 10px;
  transition: all 0.2s ease;
  box-shadow: 4px 4px 0px #CC5500, 8px 8px 0px #AA4400;
  position: relative;
}

.game-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0px #CC5500, 10px 10px 0px #AA4400;
}

.game-button {
  background: #FF6B35;
  border: 3px solid #FFFFFF;
  border-radius: 8px;
  padding: 12px 24px;
  color: white;
  font-weight: bold;
  font-family: 'Courier New', monospace;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 3px 3px 0px #CC5500;
  text-transform: uppercase;
}

.game-button:hover {
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0px #CC5500;
}

.game-button:active {
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0px #CC5500;
}

.skill-tag {
  background: #32CD32;
  color: white;
  border: 2px solid #228B22;
  border-radius: 6px;
  padding: 6px 12px;
  margin: 4px;
  display: inline-block;
  font-size: 12px;
  font-weight: bold;
  font-family: 'Courier New', monospace;
  box-shadow: 2px 2px 0px #228B22;
  text-transform: uppercase;
}

.device-tag {
  background: #FF1493;
  color: white;
  border: 2px solid #DC143C;
  border-radius: 6px;
  padding: 6px 12px;
  margin: 4px;
  display: inline-block;
  font-size: 12px;
  font-weight: bold;
  font-family: 'Courier New', monospace;
  box-shadow: 2px 2px 0px #DC143C;
  text-transform: uppercase;
}

.level-badge {
  background: #FFD700;
  color: #8B0000;
  border: 3px solid #FF6B35;
  border-radius: 8px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 14px;
  font-family: 'Courier New', monospace;
  box-shadow: 2px 2px 0px #CC5500;
  text-transform: uppercase;
}

/* 动画效果 */
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.pulse {
  animation: pulse 2s infinite;
}



/* 响应式设计 */
@media (max-width: 768px) {
  .game-card {
    margin: 5px;
    padding: 15px;
  }
}